package com.BGS;

import android.util.Log;

import com.badlogic.androidgames.framework.gl.SpriteBatcher;
import com.badlogic.androidgames.framework.gl.TextureRegion;
import com.baseinfinityrun.Assets;

public class PresentBG extends Background
{	
	public PresentBG(float x, float y, float w, float h)
	{
		super(x,y,w,h);
		this.image = Assets.backgroundRegion;
	}

	@Override
	public void Draw(SpriteBatcher batcher)
	{
		 batcher.beginBatch(Assets.background);
         batcher.drawSprite(this.position.x, this.position.y, this.size.x, this.size.y, this.image);
         batcher.endBatch();		
	}
}
